package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.response.FoodMenu;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;

import java.util.List;


public interface MenuEditorContract {
    public interface View extends BaseView {
        public void onError(String errorMsg);
        public void onFindSuccess(List<FoodMenu> menuList);
        public void onSendSuccess();
    }

    public interface Presenter extends BasePresenter {
        public void findNoodleFood(
                String userID
        );

        public void findCookFood();

        public void findCookFood2(String userID);

        public void modifyNoodleMenu(
                String foodJson ,
                String userID
        );

        public void modifyMenu(
                String foodJson
        );
    }
}
